<%@ page language="java" pageEncoding="UTF-8" buffer="16kb"%>
<%@ include file="/base.jsp"%>
<%@ include file="/module/taglibs.jsp"%>
<%@ include file="/module/nocache.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<%@ include file="/module/js.jsp"%>
<%@ include file="/module/orderField.jsp"%>

<style>

table label.error {
    margin-left: 5px;
    width: auto;
    display: inline;
    color: red;
}


<style type="text/css">
.grid {
	font: 12px arial, helvetica, sans-serif;
	border: 1px solid #cccccc
}

.grid td {
	font: 100% arial, helvetica, sans-serif;
	height: 24px;
	padding: 5px
}

.grid {
	width: 100%;
	border-collapse: collapse
}

.grid th {
	background: #eeeeee;
	height: 27px;
	line-height: 27px;
	border: 1px solid #cccccc;
	padding-left: 5px
}

.grid td {
	border: 1px solid #cccccc;
	padding-left: 5px;
	text-align: center;
}

</style>
<script>
	$(document).ready(function(){
		//点击修改
		$("#btnUptContinue").click(function() {
			var kyid = $("#kyid").val();
			window.location.href="${basePath}/scientificResearch/edit?kyid="+kyid;
 		});
		
		//点击返回
		$("#btnBack").click(function() {
			document.Form.action ="${basePath}/scientificResearch/index";
			document.Form.submit();
		});
		
	});
	
</script>
</head>
<body>
     <form action="#" name="Form" id="Form" method="post">
       <input type="hidden" name="kyid" id="kyid"  value="${data.kyid}"/>
       <input  type="hidden" name="creatorId" id="creatorId" value="${data.creatorId}"/>
		<table cellpadding="0" cellspacing="0" border="0" class="table-border" width="95%">
			<tr >
				<td class="table-header" colspan="4" style="text-align: center;">科研成果</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%;">成果名称:</td>
				<td colspan="3" class="table-contentTD" style="width: auto;">${data.cgmc}</td>
		
			</tr>
			<tr>
			    
			    <td class="table-titleTD" style="width: 15%">成果类型:</td>
				<td class="table-contentTD" style="width: 35%;">${data.cglx}</td>
			    
				<td class="table-titleTD" style="width: 15%">成果级别:</td>
				<td class="table-contentTD" style="width: 35%;">${data.cgjb}</td>
			</tr>
			<tr>
			     <td class="table-titleTD" style="width: 15%">授权、鉴定、授奖</br>单位名称：</td>
				<td class="table-contentTD" style="width: 35%;">${data.jddw}</td>
			    
				<td class="table-titleTD" style="width: 15%">作者:</td>
				<td class="table-contentTD" style="width: 35%;">${data.author}</td>
			</tr>
			<tr>
			     <td class="table-titleTD" style="width: 15%">发表刊物名称:</td>
				<td class="table-contentTD" style="width: 35%;">${data.fbkwmc}</td>
			    
				<td class="table-titleTD" style="width: 15%">发表（出版）时间:</td>
				<td class="table-contentTD" style="width: 35%;">${data.fbrq}</td>
			</tr>
			 <tr>
			    <td class="table-titleTD" style="width: 15%">创建人:</td>
				<td class="table-contentTD" style="width: 35%;">${data.creatorName}</td>
			    
				<td class="table-titleTD" style="width: 15%">创建时间:</td>
				<td class="table-contentTD" style="width: 35%;">${data.createTime}</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">关键字:</td>
				<td colspan="3" class="table-contentTD" style="width: auto;">${data.keywords}</td>
		
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">摘要:</td>
				<td colspan="3" class="table-contentTD" style="width: auto;">${data.summary}</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%;">附件：</td>
				<td class="table-contentTD" colspan="3" style="width: auto;">
					<table>
						<tr>
							<td colspan="2">
								<div id="uploadadd"></div>
							</td>
						</tr>
						<c:if test="${fn:length(dataList) > 0}">
							<c:forEach items="${dataList}" var="datalist" varStatus="index">
								<tr>
									<td>
										[文件] ${datalist.fileName}
									</td>
									<td>
										<a href="${basePath}/DownLoadFileServlet?filename=${datalist.fileName}&filepath=${datalist.filePath}">下载</a>
									</td>
								</tr>
							</c:forEach>
						</c:if>
					</table>
				</td>
			</tr>
		</table>
	</form>	
	<table cellpadding="1" cellspacing="1" border="0" align="left">
			<c:if test="${_login_user_type==2}">
			<tr>
				<td>
				 <kl:permission permisstionList="${permisstionList}"
                    currentUser="${_login_console_user}"
                    currentCatalogId="<%=CatalogUtils.getCatalogId(\"JKY_JKS_KYCG\")%>" key="modify"> 
				<input type="button" id="btnUptContinue" class="inputButton"
					style="text-align: center;" value="修改" />
				 </kl:permission>
				</td>
				<td><input type="button" id="btnBack" class="inputButton"
					style="text-align: center;" value="返回" /></td>
			</tr>
			</c:if>
		</table>
</body>
</html>